package com.gmgx.hrms.entity;

import java.time.LocalDate;

/**transfer_status状态如下
 * 0 表示待部门经理审批（员工）
 * 1 表示待人事经理审批（部门经理）
 * 2 表示待CEO审批（人事经理）
 * 3 表示审批不通过
 * 4 表示审批通过
 * 5 表示已过期（已经执行调岗操作）
 */
public class Transfer {
    private Integer transfer_id;
    private Emp transfer_emp;
    private Role transfer_role;
    private Dept transfer_dept;
    private LocalDate transfer_time;
    private String transfer_status;
    private String transfer_reason;

    public Integer getTransfer_id() {
        return transfer_id;
    }

    public void setTransfer_id(Integer transfer_id) {
        this.transfer_id = transfer_id;
    }

    public Emp getTransfer_emp() {
        return transfer_emp;
    }

    public void setTransfer_emp(Emp transfer_emp) {
        this.transfer_emp = transfer_emp;
    }

    public Role getTransfer_role() {
        return transfer_role;
    }

    public void setTransfer_role(Role transfer_role) {
        this.transfer_role = transfer_role;
    }

    public Dept getTransfer_dept() {
        return transfer_dept;
    }

    public void setTransfer_dept(Dept transfer_dept) {
        this.transfer_dept = transfer_dept;
    }

    public LocalDate getTransfer_time() {
        return transfer_time;
    }

    public void setTransfer_time(LocalDate transfer_time) {
        this.transfer_time = transfer_time;
    }

    public String getTransfer_status() {
        return transfer_status;
    }

    public void setTransfer_status(String transfer_status) {
        this.transfer_status = transfer_status;
    }

    public String getTransfer_reason() {
        return transfer_reason;
    }

    public void setTransfer_reason(String transfer_reason) {
        this.transfer_reason = transfer_reason;
    }

    @Override
    public String toString() {
        return "Transfer{" +
                "transfer_id=" + transfer_id +
                ", transfer_emp=" + transfer_emp +
                ", transfer_role=" + transfer_role +
                ", transfer_dept=" + transfer_dept +
                ", transfer_time=" + transfer_time +
                ", transfer_status='" + transfer_status + '\'' +
                ", transfer_reason='" + transfer_reason + '\'' +
                '}';
    }
}
